package test1.www.lagou.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author : liuchangling
 * @Descrition :
 * @Date： Created in 10:32 下午 2021/5/10
 */
public class Phone implements Serializable {

    private static final long serialVersionUID = 135092938464406223L;
    //手机名称
    private String pname;
    //手机单价
    private double price;
    //生产日期
    private Date prodate;
    //颜色
    private String color;

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public Date getProdate() {
        return prodate;
    }

    public void setProdate(Date prodate) {
        this.prodate = prodate;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    @Override
    public String toString() {
        return "Phone{" +
                "pname='" + pname + '\'' +
                ", price=" + price +
                ", prodate=" + prodate +
                ", color='" + color + '\'' +
                '}';
    }
}
